Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODStorageUnit


IsValidStorageUnitRef

The IsValidStorageUnitRef method returns a Boolean value that indicates whether the specified persistent reference is valid.

ODBoolean IsValidStorageUnitRef (in ODStorageUnitRef aRef);
aRef
The persistent reference to be tested.
return value
kODTrue if the specified persistent reference is valid, otherwise kODFalse.
EXCEPTIONS
kODErrUnfocusedStorageUnit
This storage unit is not focused on a value.
kODErrZeroRefCount
This storage unit has a reference count of 0.
SEE ALSO
The ODStorageUnitRef type (page 903).
Listing 2-45 on page 106 in OpenDoc Cookbook.
Listing 2-46 on page 108 in OpenDoc Cookbook.
"Clone" on page 323 in OpenDoc Programmer's Guide.
"Reading Links in InitPartFromStorage" on page 394 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help